package it.softphone.commons.shared.security;

import it.softphone.commons.shared.security.User.Role;

public class UserRole implements Role {

	private String id;
	private boolean enabled;
	
	/**
	 * 
	 * @param id
	 * @param enabled
	 */
	public UserRole(String id, boolean enabled) {
		super();
		this.id = id;
		this.enabled = enabled;
	}
	
	@Override
	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String getId() {
		return id;
	}
	
	@Override
	public void setEnabled(boolean value) {
		this.enabled = value;
	}
	
	@Override
	public boolean isEnabled() {
		return enabled;
	}

}
